package com.jims.master.modules.oper.utils;

import com.jims.master.common.utils.SpringContextHolder;
import com.jims.master.modules.oper.dao.ClinicItemDictDao;
import com.jims.master.modules.oper.entity.ClinicItemDict;

import java.util.List;

/**
 * Created by chenxy on 2017/2/28.
 */
public class ClinicItemDictUtils {



    private static ClinicItemDictDao clinicItemDictDao = SpringContextHolder.getBean(ClinicItemDictDao.class);


    /**
     *  获取当前组织机构下面的诊疗项目名称
     * @return
     */
    public static List<ClinicItemDict> getClinicItemList(){
        ClinicItemDict clinicItemDict=new ClinicItemDict();
        clinicItemDict.updateOrgId();
        return clinicItemDictDao.findList(clinicItemDict);
    }


}
